package com.ruoyi.gbase.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 表备份对象 back_table
 * 
 * @author YYS
 * @date 2025-01-21
 */
public class BackTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long backupId;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** 备份日期 */
    @Excel(name = "备份日期")
    private String backupDate;

    public void setBackupId(Long backupId) 
    {
        this.backupId = backupId;
    }

    public Long getBackupId() 
    {
        return backupId;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setBackupDate(String backupDate) 
    {
        this.backupDate = backupDate;
    }

    public String getBackupDate() 
    {
        return backupDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("backupId", getBackupId())
            .append("tableName", getTableName())
            .append("backupDate", getBackupDate())
            .toString();
    }
}
